import request from '@/utils/request'

export function register(data) {
  return request({
    url: '/user/register',
    method: 'post',
    data
  })
}

export function getUserList(data) {
  return request({
    url: '/user/list',
    method: 'get',
    data
  })
}

export function info() {
  return request({
    url: '/user/info',
    method: 'get'
  })
}
